package com.abe.bathsystem.api;

import com.abe.bathsystem.api.service.AppCommonService;
import com.abe.bathsystem.base.ManagerLocalData;
import com.abe.libcore.core.http.BaseApi;

public class AppMainService {

    private static AppCommonService mAppCommonService;

    public static AppCommonService getCommonService() {
        if (mAppCommonService == null) {
            mAppCommonService = BaseApi.retrofit(ManagerLocalData.getServiceUrl()).create(AppCommonService.class);
        }
        return mAppCommonService;
    }
}